<template>
    <div class="address-item">
        <div class="item-left">
            <div style="color:#000000;">
                小慕 13898399283
            </div>

            <div class="address">
                含乳制品
            </div>

            <div class="place">
                广州市花都区学府路一号广州城市理工学院
                <!--            <span style="float:right"><img src="~assets/address.png"/></span>-->
            </div>
        </div>
        <div class="edit">
            <van-icon @click="$router.push('/address')" name="edit" size="24px"/>
        </div>
    </div>
</template>

<script>
    export default {
        name: "addressItem"
    }
</script>

<style scoped>
    .item-left{
        flex: 1;
    }
    .edit{
        width: 80px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    .address-item{
        margin-top: 10px;
        padding: 20px;
        background: #fff;
        display: flex;
    }
    .place{
        color:#999999;
        font-size: 14px;
    }
    .edit-icon{
        width: 20px;
        height: 20px;
        background: skyblue;
    }
    .address{
        text-align: center;
        line-height: 20px;
        width: 55px;
        transform: scale(0.8);
        position: relative;
        left: -5px;
        height: 20px;
        border: 1px solid orange;
        color: orange;
        background:#FFEFD5;
        margin: 4px 0;
        font-size:10px;
    }
</style>